Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

This commit ensures that redirects correctly account for the X-Forwarded-Prefix header and APP_BASE_HREF, preventing incorrect redirect loops or invalid URLs when running behind a proxy or with a base href.

Closes #31902

… redirects

This commit ensures that redirects correctly account for the X-Forwarded-Prefix header and APP_BASE_HREF, preventing incorrect redirect loops or invalid URLs when running behind a proxy or with a base href.

Closes angular#31902
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Nov 21, 2025
@alan-agius4 alan-agius4 requested a review from atscott November 21, 2025 11:36
@alan-agius4 alan-agius4 marked this pull request as ready for review November 21, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/ssr target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR redirect loop with custom base href (>=20.3.7)

1 participant